﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class AdminTop : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        //将网页跳转到后台首页页面
        Page.RegisterStartupScript("Redirect", "<script language=javascript>top.location.href='Manage.aspx'</script>");
    }
    protected void ImageButton2_Click(object sender, ImageClickEventArgs e)
    {
        //清除用户登录信息
        FormsAuthentication.SignOut();

        //将网页跳转到登录页面
        Page.RegisterStartupScript("Redirect", "<script language=javascript>top.location.href='../AdminLogin.aspx'</script>");
    }
}
